﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HospitalRegist.aspx.cs" Inherits="HZ.DrugTrade.Web.HospitalRegist" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>医疗机构用户注册</title>
       <link rel="stylesheet" type="text/css" href="lib/style/global.css" />
 
    <script type="text/javascript" src="lib/scripts/PCASClass.js"></script>
   
</head>
<body style="">
    <form id="form1" runat="server"  >
    <div class="maincon">
    <div class="note">医疗机构信息上报</div>
    <div class="note2"></div>
    <table  >
        <tr>
            <th align="right">
                <asp:Label runat="server" Text="医疗机构名称："></asp:Label>
            </th>
            <td align="left">
                <asp:TextBox runat="server" ID="txb_hosName" Width="135px" ></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txb_hosName" ErrorMessage="医疗机构名称必填">（必填）</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <th align="right">
                <asp:Label ID="Label1" runat="server" Text="医疗机构地址："></asp:Label>
            </th>
            <td align="left">
                <asp:TextBox runat="server" ID="txb_Addr" Width="135px" ></asp:TextBox>
            </td>
        </tr>
        <tr>
            <th align="right">
            <asp:Label ID="Label2" runat="server" Text="医疗机构等级："></asp:Label>
            </th>
            <td align="left">
                <asp:DropDownList ID="DropDownList1" runat="server" Width="61px">
               
                    <asp:ListItem Text="一甲" Value="一甲"></asp:ListItem>
                    <asp:ListItem Text="一乙" Value="一乙"></asp:ListItem>
                    <asp:ListItem Text="一丙" Value="一丙"></asp:ListItem>
                    <asp:ListItem Text="二甲" Value="二甲"></asp:ListItem>
                    <asp:ListItem Text="二乙" Value="二乙"></asp:ListItem>
                    <asp:ListItem Text="二丙" Value="二丙"></asp:ListItem>
                    <asp:ListItem Text="三甲" Value="三甲"></asp:ListItem>
                    <asp:ListItem Text="三乙" Value="三乙"></asp:ListItem>
                    <asp:ListItem Text="三丙" Value="三丙"></asp:ListItem>
                    <asp:ListItem Text="三特" Value="三特"></asp:ListItem>
                    
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <th align="right">
                <asp:Label ID="Label3" runat="server" Text="医疗机构地区："></asp:Label>
            </th>
            <td align="left">
                
                <asp:DropDownList ID="ddlProvice" runat="server">
                    <asp:ListItem Value="">所在省</asp:ListItem>
                </asp:DropDownList>
                <asp:DropDownList ID="ddlCity" runat="server">
                    <asp:ListItem Value="">所在城市</asp:ListItem>
                </asp:DropDownList>
                 &nbsp;<asp:DropDownList ID="ddlCountry" runat="server"  Visible="false">
                        <asp:ListItem Value="">所在区县</asp:ListItem>
                    </asp:DropDownList>
                
            </td>
        </tr>
        <tr>
            <th align="right">
                <asp:Label ID="Label4" runat="server" Text="联系人："></asp:Label>
            </th>
            <td align="left">
                <asp:TextBox runat="server" ID="txb_HosPerson" Width="135px" ></asp:TextBox>
            </td>
        </tr>
        <tr>
            <th align="right">
                <asp:Label ID="Label5" runat="server" Text="单位电话："></asp:Label>
            </th>
            <td align="left">
                <asp:TextBox runat="server" ID="txb_officeTel" Width="135px" ></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txb_officeTel" ErrorMessage="电话号码必填">（必填）</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ErrorMessage="电话号码填写有误" ControlToValidate="txb_officeTel" 
                    ValidationExpression="(\(\d{3,4}\)|\d{3,4}-)?\d{7,8}"></asp:RegularExpressionValidator>
            </td>
        </tr>
         <tr>
            <th align="right">
                <asp:Label ID="Label6" runat="server" Text="联系人手机："></asp:Label>
            </th>
            <td align="left">
                <asp:TextBox runat="server" ID="txb_MobilePhone" Width="135px" ></asp:TextBox>
                  <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                    ErrorMessage="联系人手机填写有误" ControlToValidate="txb_MobilePhone" 
                    ValidationExpression="[0]{0,1}\d{11}"></asp:RegularExpressionValidator>
            </td>
        </tr>
         <tr>
            <th align="right">
                <asp:Label ID="Label7" runat="server" Text="电子邮箱："></asp:Label>
            </th>
            <td align="left">
                <asp:TextBox runat="server" ID="txb_Email" Width="135px" ></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                    ErrorMessage="邮箱填写有误" ControlToValidate="txb_Email" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            </td>
        </tr>
         
    </table>
      <div class="listip">
        <ul>
            <li>提示:带（必填） 为必填项，同一医疗机构信息请不要重复提交。</li>
        </ul>
    </div>
    <div class="listctrl">
        <asp:Button ID="btnAdd" runat="server" CssClass="btn" 
            Text="提交" ToolTip="将企业信息提交给中心方" onclick="btnAdd_Click" />
        &nbsp;&nbsp;
        验证码：<asp:TextBox ID="txtCode" runat="server" CssClass="input" MaxLength="4" 
            Width="40"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
            ControlToValidate="txtCode" Display="Dynamic" ErrorMessage="验证码必填">（必填）</asp:RequiredFieldValidator> <img  alt="看不清？单击重新获取验证码" id="Img" title="看不清？单击重新获取验证码" src="CommonPage/Code.aspx" onclick="javascript:this.src = 'CommonPage/Code.aspx?' + Math.random();" style="border-width:0px;vertical-align:bottom; cursor:hand;" />
        </div>
    </div>
    
    </form>
     <script type="text/javascript" language="javascript">
        new PCAS("ddlProvice", "ddlCity" <%=GetDefaultAreaString() %> );
    </script>
</body>
</html>
